MailPoet\Config\Menu A

Total Complexity 69
Dependencies 30
Dependents 13
Total lines 765
Lines of code 578
Logical lines of code 164
Comment lines 50
Methods 39
Properties 8

Methods 39

Method Rating Maintainability Complexity Lines of code
registerMailPoetSubMenuEntries()
A
27
2 241
highlightNestedMailPoetSubmenus()
A
49 9 32
setup()
A
44 6 54
isOnMailPoetAdminPage()
S
58 6 16
addErrorPage()
S
54 5 23
registerAutomationMenu()
S
45 3 48
registerMailPoetMenu()
S
51 1 34
getPageFromContext()
S
67 3 7
checkPremiumKey()
S
68 3 6
isOnMailPoetAutomationPage()
S
61 2 13
init()
S
64 1 11
export()
S
81 1 3
newletterEditor()
S
81 1 3
import()
S
81 1 3
__construct()
S
67 1 8
formEditor()
S
81 1 3
formEditorTemplateSelection()
S
81 1 3
setPageTitle()
S
70 1 7
forms()
S
81 1 3
errorPageCallback()
S
89 1 2
newsletters()
S
81 1 3
logs()
S
81 1 3
segments()
S
81 1 3
help()
S
81 1 3
disableWPEmojis()
S
76 1 4
welcomeWizard()
S
81 1 3
landingPage()
S
81 1 3
wooCommerceSetup()
S
81 1 3
upgrade()
S
81 1 3
settings()
S
81 1 3
homepage()
S
81 1 3
lists()
S
81 1 3
automation()
S
81 1 3
automationTemplates()
S
81 1 3
automationEditor()
S
81 1 3
automationAnalytics()
S
81 1 3
experimentalFeatures()
S
81 1 3
subscribers()
S
81 1 3
checkIsGutenbergEmailEditorPage()
S
80 1 3